Yesterday I posted how I was fighting with the Flash socket policy changes. Today I found a solution. At some point I had reverted back to using Adobe's example xinetd socket server written in Perl. The problem was that the example wrote log information to STDERR and xinetd redirects STDOUT and STDERR to the socket. I was sending logging info mixed in with the policy file so of course it was invalid!